package com.zsguan.s.stools4andr.os;

import android.os.FileObserver;

import com.zsguan.z.slogger4andr.ZLogger;

/**
 * Created by Administrator on 2015/9/14.
 * 文件事件监听器
 * 文件创建  修改  删除
 */
public class SFileCudListener extends FileObserver{
    public SFileCudListener(String path) {
        super(path, FileObserver.CREATE | FileObserver.DELETE | FileObserver.MODIFY);
    }

    @Override
    public void onEvent(int event, String path) {
        ZLogger.i("onEvent, " + event + ", " + path);
    }
}
